package com.entity.vo;

import java.util.HashMap;
import java.util.Map;

public class AjaxMassage {
    private Boolean success;
    private Integer code;
    private String massage;
    private Map<String,Object> massageMap=new HashMap<>();


    public Boolean getSuccess() {
        return success;
    }

    public AjaxMassage setSuccess(Boolean success) {
        this.success = success;
        return this;
    }

    public Integer getCode() {
        return code;
    }

    public AjaxMassage setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getMassage() {
        return massage;
    }

    public AjaxMassage setMassage(String massage) {
        this.massage = massage;
        return this;
    }

    public Map<String, Object> getMassageMap() {
        return massageMap;
    }

    public AjaxMassage add(String key,Object value){
        this.massageMap.put(key,value);
        return this;
    }


}
